package com.iot.ammeter;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @ClassName: Application
 * @Author: Basil
 * @Date: 2021/9/11 下午5:46
 * @Version: 1.0
 * EnableAsync 开启异步任务
 **/
@SpringBootApplication
@EnableSwagger2
@EnableAsync
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
